﻿<Page x:Class="CharacterProgressControlDemo.WinRT.MainPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:local="using:CharacterProgressControlDemo.WinRT"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      xmlns:progressControls="using:CharacterProgressControl.WinRT"
      mc:Ignorable="d">

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <StackPanel>
            <progressControls:CProgressControl Minimum="0"
                                               Maximum="100"
                                               BorderBrush="Brown"
                                               Foreground="Red"
                                               Background="White"
                                               DisplayOption="ManType3"
                                               TextForeground="DarkGray"
                                               Width="100"
                                               Height="270"
                                               Value="{Binding Path=Value, ElementName=slider}" />
            <Slider Minimum="0"
                    Maximum="100"
                    x:Name="slider" />
        </StackPanel>
    </Grid>
</Page>
